<%@page import="com.pks.autoInsurance.dto.VehicleDetailsDto"%>
<html>
<head>
<jsp:include page="header.jsp" />
<title>AutoInsurance - User Edit Quotation</title>
<link href="template/css/icon.css" rel="stylesheet" type="text/css">
<script>
	window.history.forward(1);
</script>
</head>
<body>
	<%
		Object object = request.getAttribute("vehicleDetailsDto");
		VehicleDetailsDto vehicleDetailsDto = null;
		if (object != null) {
			vehicleDetailsDto = (VehicleDetailsDto) object;
			;
		}
	%>
	<form action="admin" method="post" name="adminForm">
		<input type="hidden" name="action" value="update-user" />
		<div class="col width-45">
			<fieldset class="adminform">
				<legend>User Vehicle Details</legend>
				<table class="admintable" cellspacing="1">
					<tbody>
						<tr>
							<td class="key" width="150">User Id</td>
							<td><input class="inputbox" name="userId"
								readonly="readonly" size="40" type="text"
								value="<%=vehicleDetailsDto.getUserId()%>" /></td>
						</tr>
						<tr>
							<td class="key">Policy Type</td>
							<td><%=vehicleDetailsDto.getPolicyType()%></td>
						</tr>
						<tr>
							<td class="key">Policy Amount</td>
							<td><input class="inputbox" name="policyAmount" size="40"
								type="text" value="<%=vehicleDetailsDto.getPolicyAmount()%>" />
							</td>
						</tr>
						<tr>
							<td class="key" valign="top">Registration No</td>
							<td><input class="inputbox" name="vehicleRegistrationNo"
								size="40" type="text"
								value="<%=vehicleDetailsDto.getVehicleRegistrationNo()%>" /></td>
						</tr>
						<tr>
							<td class="key">Quote Date</td>
							<td><%=vehicleDetailsDto.getQuoteDate()%></td>
						</tr>
						<tr>
							<td class="key">Model</td>
							<td><%=vehicleDetailsDto.getModel()%></td>
						</tr>
						<tr>
							<td class="key">Make</td>
							<td><%=vehicleDetailsDto.getMake()%></td>
						</tr>
						<tr>
							<td />
							<td><input class="inputbox" name="make" size="40"
								type="submit" value="Update Details" /></td>
						</tr>
					</tbody>
				</table>
			</fieldset>
		</div>
	</form>
	<jsp:include page="footer.jsp" />
</body>
</html>